package com.lzj.admin.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.math.BigDecimal;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 客户退货单商品表
 * </p>
 *
 * @author luoyoumou
 * @date 2022-12-05
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("t_customer_return_list_goods")
@ApiModel(value="CustomerReturnListGoods对象", description="客户退货单商品表")
public class CustomerReturnListGoods implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "商品编码")
    private String code;

    @ApiModelProperty(value = "商品色号")
    private String colorSize;

    @ApiModelProperty(value = "商品名称")
    private String name;

    @ApiModelProperty(value = "商品名称-拼音首字母")
    private String fpyName;

    @ApiModelProperty(value = "数量")
    private Integer num;

    @ApiModelProperty(value = "价格")
    private BigDecimal price;

    @ApiModelProperty(value = "总价")
    private BigDecimal total;

    @ApiModelProperty(value = "商品单位名称")
    private String unitName;

    @ApiModelProperty(value = "客户退货单id")
    private Integer customerReturnListId;

    @ApiModelProperty(value = "商品类别id")
    private Integer typeId;

    @ApiModelProperty(value = "商品类别名称")
    @TableField(exist = false)
    private String typeName;

    @ApiModelProperty(value = "商品id")
    private Integer goodsId;


}
